<template>
  <el-form-item v-if="curComponent.component=='v-swiper'" label="走马灯设置">
                    <div style="clear:both" v-for="(item,i) of curComponent.propValue.swiperList" :key="i">
                        <div>第{{i+1}}张</div>
                        <el-input  v-model="item.url" type="text" />
                        <el-button type="danger" size="mini" @click="delswiper( curComponent.propValue.swiperList,i)">删除第{{i+1}}张</el-button>
                         <Upload :type="'primary'" @confrim="(e)=>{confrim(e, curComponent.propValue.swiperList,i)}" :text="'上传轮播'"></Upload>
                        <div>
                            <span>点击跳转链接</span>
                            <el-input  v-model="item.link" type="text" />
                        </div>
                        <!-- v-swiperinner -->
                        <!-- <el-button v-if="curComponent.isContent" type="danger" @click="setSwiperContent(curComponent.swiperList,i,item.content)" size="small">编辑轮播内容区</el-button> -->
                    </div>
            </el-form-item>
</template>

<script>
export default {
    props:['curComponent']

}
</script>

<style>

</style>